using System;

namespace MySpreadsheet
{
    public class Border
    {
        public Border()
        {
            SetTopLeftBottomRight(LineStyle.None);
            AscendingDiagonal = LineStyle.None;
            DescendingDiagonal= LineStyle.None;
        }

        public LineStyle Top { get; set;}
        public LineStyle Bottom { get; set;}
        public LineStyle Left { get; set;}
        public LineStyle Right { get; set;}
        public LineStyle AscendingDiagonal { get; set; }
        public LineStyle DescendingDiagonal { get; set; }

        public void SetTopLeftBottomRight(LineStyle lineStyle)
        {
            Top = lineStyle;
            Left = lineStyle;
            Bottom = lineStyle;
            Right = lineStyle;
        }
    }
}